package xyz.xtt.admin.constants;

/**
 * 上限检查类型
 * 
 * @author huqibo
 * @date 2024/11/21
 */
public enum DimensionalTypeEnum {
	SUCC(0, "suss"), TOTAL_REQ(1, "totalReq"), TOTAL_FAIL(2, "totalFail"), CONTINUOUS_FAIL(3, "continuousFail"),;

	private int code;
	private String desc;

	private DimensionalTypeEnum(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public int code() {
		return code;
	}

	/**
	 * 获取描述
	 * 
	 * @return
	 */
	public String desc() {
		return desc;
	}
}
